<template>
  <div class="demo">
    {{ modelValue }}
    <el-button type="primary" @click="updateModelValue">更新后端技术栈</el-button>
  </div>
</template>

<script setup lang="ts">
defineProps(['modelValue'])
const $emit = defineEmits(['update:modelValue'])

const updateModelValue = () => {
  $emit('update:modelValue', 'C#')
}
</script>

<style scoped>
.demo {
  width: 300px;
  height: 300px;
  background: lightpink;
}
</style>
